Book Contents

Options on the Numeric tab of the Numeric Input Enable Properties dialog box

The following table shows the options on the Numeric tab of the Numeric Input Enable Properties dialog box.

Options

Descriptions

Pop-up settings

 

Numeric pop-up

Select the kind of pop-up to use:

  • Keypad. Pressing the object will invoke the numeric keypad.
  • Scratchpad. Pressing the object will invoke the numeric scratchpad. To use the scratchpad, the computer running the application must have an external keyboard or keypad.
  • None. If you choose None, pressing the object will not invoke a pop-up.

     

Min/max range and ramp settings

 

Minimum and maximum values

Specify the minimum and maximum values the object can write to the Value connection.

If the Decimal point selection is Implicit, the minimum and maximum values applies to the value shown in the pop-up. The possible range is -9.9E15 to 9.9E16.

If the Decimal point selection is Fixed position, the possible range is -2147483648 to 2147483647.

If the Decimal point selection is Fixed position, and the Fixed position output selection is Displayed value, the minimum or maximum value applies to the value shown in the pop-up.

If the Decimal point selection is Fixed position, and the Fixed position output selection is Stripped value, the minimum or maximum value applies to the stripped value, not the shown value.

If you assign a connection to the Optional Expression, the minimum or maximum applies to the value sent to the expression, and not to the value written to the Value connection.

If you are using the button only for ramping, with no pop-up, the minimum and maximum value applies to the values being written to the Value connection, no matter what the decimal point selection is.

Ramp value

Specify the amount by which the Value connection will change when the associated key is pressed. The key can be the Move up or Move Down key, or the cursor up or cursor down key.

Permitted range is 1.175494E-38 to 3.402823E38. If the value is set to 0, the ramp functionality is disabled. No negative numbers can be entered.

Use variable Minimum/Maximum

Select this check box to use the Minimum and Maximum connections specified on the Connections tab to control the object's minimum and maximum values.

Decimal point settings

 

Decimal point

Select the type of decimal point to use:

  • Implicit. If the operator manually enters the decimal point and you want the decimal point to be used when the value is sent to the Value connection.
  • Fixed position. If the values to enter in the pop-up always have the same number of digits after the decimal point. If you select this type of decimal point, specify a "Digits after decimal point" value.

 

Fixed position output

Select the kind of output to use with the Fixed position decimal point:

  • Stripped value. The decimal point will be stripped out of the displayed value and the resulting integer will be written to the Value connection. For example, if the displayed value is 1.25, 125 will be written to the Value connection.
  • Displayed value. The displayed value will be written to the Value connection without any changes.

     

Digits after decimal point

Specify the number of digits to appear after the decimal point. This option is available when Fixed Position is selected for the Decimal point option.

Tip:

  • If the ramp value is floating point and the Value connection is an integer tag, the application rounds the value before writing it to the connection.
  • If an Optional Expression is assigned, ramping is disabled.
  • If you are using the button only for ramping, decimal point settings are not applied.

See also

Create Numeric Input Enable buttons

Configure the Numeric Input Enable button

Set up a caption and image for a button

Set up handshaking for the Numeric Input Enable button

Set up connections for the Numeric Input Enable button